package entity.misc;

import java.awt.Graphics;
import entity.Sprite;

public class Entrance extends Sprite{

	private int cycle;
	
	public Entrance(String ref,int x, int y){
		super(ref, 10, x, y);
		
	}
	
	public void update(){
		if (cycle < 7){
			super.update();
			cycle++;
		}
	}
}
